package org.yanghaokun.org.domain;

import lombok.Data;
import org.yanghaokun.basic.domain.BaseDomain;
import org.yanghaokun.user.domain.LoginInfo;

@Data
public class Employee extends BaseDomain{
    private String username;
    //邮箱
    private String email;
    //电话
    private String phone;
    //盐值
    private String salt;
    //密码
    private String password;
    private Integer age;

    //状态
    private Integer state;
    //关联部门
    private Department department;
    private Long department_id;
    private Long logininfo_id;
    private LoginInfo logininfo;
    private Long shop_id;
    //关联店铺
    private Shop shop;
//    //关联对象
//    private Logininfo login;
}
